<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

Route::get('/craw', 'CrawController@av');
Route::get('/craw/boring', 'CrawController@boring');
Route::get('/craw/amaze', 'CrawController@amaze');

Route::get('/artist/rank', 'ArtistController@rank');

Route::get('/artist/{artist}/production', 'ArtistController@production');

Route::get('/bore/list', 'ListController@boreList');

Route::get('/amaze/list', 'ListController@amazeList');

Route::get('/list/praise', 'ListController@praise');
Route::get('/list/disdain', 'ListController@disdain');

Route::get('rank', function () {
    return view('child',['template' => 'av', 'title' => '小姐姐排行榜']);
});

Route::get('production', function () {
    return view('production',['template' => 'av', 'title' => '小姐姐排行榜']);
});

Route::get('bore', function () {
    return view('list',['cate_type' => 'bore', 'template' => 'bore', 'title' => '无聊图']);
});

Route::get('amaze', function () {
    return view('list',['cate_type' => 'amaze', 'template' => 'amaze', 'title' => '妹子图']);
});